package com.gitee.l0km.jsonvisitor;

public interface AggregateFunction<T> {

    /**
     * 聚合左值和右值的结果,返回聚合结果
     * @param l the left argument
     * @param r the right argument
     * @return the reduce result
     */
    T reduce(T l, T r);

}
